import request from '@/utils/request'

//根据项目编号获取测绘机构信息
export function getMappingOrganization(data) {
    return request({
      url: '/pc/project/later_mapping_result/entering/01_get_mapping_organization',
      method: 'POST',
      formData: data
    })
}

//上传项目前期测绘成果
export function submit(data) {
  return request({
    url: '/pc/project/later_mapping_result/entering/02_upload_later_mapping_result',
    method: 'POST',
    data
  })
}

//获取项目前期测绘审定信息
export function getLandResultAuditInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit_opinion/01_get_land_result_audit_info',
    method: 'POST',
    formData: data
  })
}

//查询片块前期测绘成果初审信息
export function queryLandResultAuditInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/01_query_land_result_audit_info',
    method: 'POST',
    formData: data
  })
}

//查询片块前期测绘成果初审信息
export function saveDistrictCenterOpinion(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit_opinion/02_save_district_center_opinion',
    method: 'POST',
    data
  })
}

//查询片块前期测绘成果初审信息
export function saveDistrictBureauOpinion(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit_opinion/03_save_district_bureau_opinion',
    method: 'POST',
    data
  })
}

//现场踏勘-综合监管信息
export function supervisingInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit_opinion/04_supervising_info',
    method: 'POST',
    data
  })
}

//现场踏勘-综合监管信息
export function laterSupervisingInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/entering/later_supervising_info',
    method: 'POST',
    data
  })
}

//现场踏勘-综合监理信息详细
export function laterEnterpriseCheck(data) {
  return request({
    url: '/pc/project/later_mapping_result/entering/later_enterprise_check',
    method: 'POST',
    formData: data
  })
}

//现场踏勘-综合监理信息详细
export function getLandStatusMapAuditInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/02_get_land_status_map_audit_info',
    method: 'POST',
    formData: data
  })
}

//查询项目竣工测绘成果附件的初审信息
export function queryProjectResultAuditInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/03_query_project_Result_audit_info',
    method: 'POST',
    formData: data
  })
}

//获取审核意见类型
export function getOpinionType() {
  return request({
    url: '/pc/project/early_mapping_result/first_audit/08_get_Opinion_type',
    method: 'POST',
  })
}

//审查项目前期测绘成果的附件信息
export function auditProjectResultAttachmentInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/07_audit_project_result_attachment_info',
    method: 'POST',
    data
  })
}

//审查片块前期测绘成果规模是否相同
export function auditLandResultInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/04_audit_land_result_info',
    method: 'POST',
    data
  })
}

//审查片块前期测绘的现状图信息
export function auditLandStatusMapInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/05_audit_land_status_map_info',
    method: 'POST',
    data
  })
}

//校验附件审查意见
export function verifyAttachmentOpinion(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/08_verify_attachment_opinion',
    method: 'POST',
    formData: data
  })
}

//校验附件审查意见
export function getProjectLaterFirstOpinion(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit_opinion/04_get_project_later_first_opinion',
    method: 'POST',
    formData: data
  })
}

export function getTable(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit_opinion/04_get_project_later_first_opinion_file',
    method: 'POST',
    formData: data
  })
}

// 成果录入附件回显
export function queryLaterMappingFile(data) {
  return request({
    url: '/pc/project/later_mapping_result/entering/query_later_mapping_file',
    method: 'POST',
    formData: data
  })
}

//审计信息
export function getLandLaterFirstAuditScaleChangeInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit_opinion/06_get_land_later_first_audit_scale_change_info',
    method: 'POST',
    formData: data
  })
}
//成果录入片块回显
export function queryLaterMappingLand(data) {
  return request({
    url: '/pc/project/later_mapping_result/entering/query_later_mapping_land',
    method: 'POST',
    formData: data
  })
}
//查询项目竣工测绘成果附件的初审审查信息(竣工附件信息)
export function checkProjectResultAuditInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/03_query_project_Result_audit_info2',
    method: 'POST',
    formData: data
  })
}

//提交竣工测绘录入
export function jgEarlyMappingResultCommit(data) {
  return request({
    url: '/pc/project/later_mapping_result/entering/early_mapping_result_commit',
    method: 'POST',
    formData: data
  })
}
//审查片块外业信息
export function jgcsWyAuditLandOuterInfo(data) {
  return request({
    url: '/pc/project/later_mapping_result/first_audit/06_audit_land_outer_info',
    method: 'POST',
    data
  })
}